package main;

import java.util.Stack;

import javax.swing.JDialog;
import javax.swing.SwingUtilities;
import javax.swing.UIManager;

import entity.User;
import view.LoginJDialog;
import view.MainJFrame;

public class Main {
	
	public static User user;
	
	public static MainJFrame frame;
	
	public static Stack<JDialog> dlgStack = new Stack<JDialog>(); 

	public static void main(String[] args) throws Throwable {
		//UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
		UIManager.setLookAndFeel("com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel");
		SwingUtilities.invokeLater(new Runnable() {
	        public void run() {
	        	new LoginJDialog();
	        }
	    });		
	}
}
